gdksurface-win32.c: Add function to handle queued moves/resizes
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 5 Aug 2020 02:36:53 +0000 (10:36 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 5 Aug 2020 08:23:12 +0000 (16:23 +0800)
commitc6ada2a329fdb748e03a9ddb4c15bce77f5c1c42
treee8a8aaae9c71549d77abfc160147b68f51431d70
parent69bb4f8beb6cdb3ff99e66f0d820cc41c2898d4f
gdksurface-win32.c: Add function to handle queued moves/resizes

Since we need to deal with queued moves and resizes in the Cairo, GL and Vulkan
draw contexts, and the logic involved in all three of these are largely
similar, add a function gdk_win32_surface_handle_queued_move_resize() that will
handle this, which will be shared between these three types of draw contexts.
gdk/win32/gdksurface-win32.c
gdk/win32/gdksurface-win32.h